package com.lotter.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lotter.model.fianceplatorm.Fiancestatis;


/**
 * 
 * @author panguixiang
 *
 */
public interface FianceQuartzMapper {

	public long getplatformbalance();
	
	public long statisAccMoneySum(@Param("purpose") int purpose,
			@Param("startDate") Date startDate,@Param("endDate") Date endDate);
	
	public void saveFianceStatis(@Param("obj") Fiancestatis obj);
	
	public List<Fiancestatis> fiancestatisListPage(@Param("startDate") Date startDate,@Param("endDate") Date endDate,
			@Param("start") int start, @Param("size") int size);
	
	public int fiancestatiscount(@Param("startDate") Date startDate,@Param("endDate") Date endDate);
}
